home *** CD-ROM | disk | FTP | other *** search
/ Exame Informatica 142 / Exame Informatica 142.iso / Programas / Wiki / WikidPad-1.9beta2.exe / {app} / extensions / Presentation.py < prev    next >
Encoding:
Python Source  |  2005-07-26  |  1.4 KB  |  52 lines

  1. from wxPython.wx import wxPlatform
  2.  
  3. if wxPlatform == '__WXMSW__':
  4.     faces = { 'times': 'Times New Roman',
  5.               'mono' : 'Courier New',
  6.               'helv' : 'Arial',
  7.               'other': 'Comic Sans MS',
  8.               'size' : 10,
  9.               'heading4': 10,
  10.               'heading3': 11,
  11.               'heading2': 12,
  12.               'heading1': 12
  13.              }
  14. else:
  15.     faces = { 'times': 'Times',
  16.               'mono' : 'Courier',
  17.               'helv' : 'Helvetica',
  18.               'other': 'new century schoolbook',
  19.               'size' : 10,
  20.               'heading4': 10,
  21.               'heading3': 11,
  22.               'heading2': 12,
  23.               'heading1': 12
  24.              }
  25.  
  26.  
  27. # Original settings:
  28. """
  29. if wxPlatform == '__WXMSW__':
  30.     faces = { 'times': 'Times New Roman',
  31.               'mono' : 'Courier New',
  32.               'helv' : 'Arial',
  33.               'other': 'Comic Sans MS',
  34.               'size' : 10,
  35.               'heading4': 11,
  36.               'heading3': 12,
  37.               'heading2': 13,
  38.               'heading1': 14
  39.              }
  40. else:
  41.     faces = { 'times': 'Times',
  42.               'mono' : 'Courier',
  43.               'helv' : 'Helvetica',
  44.               'other': 'new century schoolbook',
  45.               'size' : 10,
  46.               'heading4': 11,
  47.               'heading3': 12,
  48.               'heading2': 13,
  49.               'heading1': 14
  50.              }
  51. """
  52.